<template>
  <el-collapse model-value="first">
    <el-collapse-item name="first" >
      <template #title>
        <SvgIcon name="setting"/>常规
      </template>
      <el-form :model="data" label-position="left" label-width="50px">
        <el-form-item label="名称:" prop="text">
          <el-input v-model="data.text"/>
        </el-form-item>
        <el-form-item label="描述:" prop="text">
          <el-input
              v-model="data.properties.description"
              :rows="2"
              type="textarea"
          />
        </el-form-item>
      </el-form>
    </el-collapse-item>
  </el-collapse>
</template>

<script setup lang="ts">
  import {ref,nextTick} from 'vue'
import { usePropertiesPanelData } from '../../useapi';
import './style.css';

const data = usePropertiesPanelData()

</script>
